#include "CFGDataSource.h"

CCFGDataSource::CCFGDataSource(void)
{
}

CCFGDataSource::~CCFGDataSource(void)
{
}

bool CCFGDataSource::SaveState(xml_api::Memento* m)
{
  return true;
}

bool CCFGDataSource::LoadState(xml_api::Memento* m)
{
  m_main_server = m->GetString("main_server");
  m_main_port = m->GetInteger("main_port");
  m_backup_server = m->GetString("backup_server");
  m_backup_port = m->GetInteger("backup_port");

  return true;
}
